package com.example.larouzey.zyfypt_201ljy.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
import com.example.larouzey.zyfypt_201ljy.R;
public class ViewProjectActivity extends AppCompatActivity {
    private int resid;
    private WebView webView;
    private String BASEURL="http://amicool.neusoft.edu.cn/";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_view_article);
        resid  = getIntent().getIntExtra("resid",1);
        webView = (WebView)findViewById(R.id.article_webview);
        webView.loadUrl(BASEURL+"project.php/show/index/id/"+resid);
    }
}

